#ifndef __HEAD_H__
#define __HEAD_H__

#include <func.h>
#include "threadPool.h"
#include "taskQueue.h"

enum
{
    CD,LS,PUTS,GETS,REMOVE,PWD,MKDIR,RMDIR,GETS2
};

int readConf(const char* conf,char* ip,char* port,char* threadNum);
int recvOrder(int netfd,int* orderflag,char* path);
int lsSend(int netfd,char* path);
int pwdSend(int netfd,char* path);
int mkdircreat(char *path);
int checkLogin(int sockfd);
int gets_server(int netfd,char * filename,char * curPath);
int gets_server2(int netfd,char*filename,char *curPath);

#endif
